package com.bdpn.ch05.mapper;

import com.bdpn.ch05.pojo.SysUser;

import java.util.List;

public interface UserMapper {
    public SysUser login(String usrName , String usrPassword);

    public int addUser(SysUser sysUser);

    public int deleteUser(Long usrId);

    public int updateUser(SysUser user);

    public SysUser getUser(Long usrId);

    public List<SysUser> findAllUsers();
}
